<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/Texture.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">Texture.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_texture_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;<a class="code" href="_color_8h.html">Color.h</a>&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="foldopen" id="foldopen00009" data-start="{" data-end="};">
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html">    9</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_g_b_symbol.html">GBSymbol</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a6a9573c58a5c6234a78e41e41ed6e025">   13</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#a6a9573c58a5c6234a78e41e41ed6e025">IsEmpty</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#abac7428b520a1bc20e27e92861bf87d1">   16</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#abac7428b520a1bc20e27e92861bf87d1">Clear</a>();</div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a3fbd77305c934b47f40c88e5abbeeb16">   19</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#a3fbd77305c934b47f40c88e5abbeeb16">SetCode</a>(<span class="keyword">const</span> std::string&amp; code);</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a9a52598438795db4ead9c8b0ad497645">   20</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#a9a52598438795db4ead9c8b0ad497645">GetCode</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a0ebe7fb7c32a542d4e1fa2aaf96cdf26">   23</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#a0ebe7fb7c32a542d4e1fa2aaf96cdf26">SetStrokeColor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; clr);</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a6fc7198846ad3783022c16341ca55c7e">   24</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#a6fc7198846ad3783022c16341ca55c7e">GetStrokeColor</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a1f0f3ddd09e3945cc974922a941ca937">   27</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#a1f0f3ddd09e3945cc974922a941ca937">SetFillColor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; clr);</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#afdea687552c2c0454ec29d70e795a0ea">   28</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_g_b_symbol.html#afdea687552c2c0454ec29d70e795a0ea">GetFillColor</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#ae399a902f0a4c68538a5bf4e84765681">   32</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_g_b_symbol.html#ae399a902f0a4c68538a5bf4e84765681">code_</a>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a282cace3947f9f3168a9ec58e443100a">   34</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a> <a class="code hl_variable" href="classgeo3dml_1_1_g_b_symbol.html#a282cace3947f9f3168a9ec58e443100a">strokeColor_</a>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_g_b_symbol.html#a343adcc9f79ba43d7d1f1e97a3b3683f">   36</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a> <a class="code hl_variable" href="classgeo3dml_1_1_g_b_symbol.html#a343adcc9f79ba43d7d1f1e97a3b3683f">fillColor_</a>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    };</div>
</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span> </div>
<div class="foldopen" id="foldopen00041" data-start="{" data-end="};">
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html">   41</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a> {</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span>    <span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268b">   44</a></span>        <span class="keyword">enum class</span> <a class="code hl_enumeration" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268b">WrapMode</a> {</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba7a1920d61156abc05a60135aefe8bc67">Default</a> = 0,    </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba7020426cfb0a204051be4b3053d2acc8">Repeat</a>,         </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba39a681a9d5ccc902bebd16a343dd7b74">MirrorRepeat</a>,   </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba74556551231333c36debc3d373261134">ClampToEdge</a>,    </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>            <a class="code hl_enumvalue" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268bafb07f88f6f11cc5ab9c951290716f147">ClampToBorder</a>   </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>        };</div>
</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a354684c0506ce5857a38205f73ab7e2d">   53</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a354684c0506ce5857a38205f73ab7e2d">Texture</a>();</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a0ea440b4823100b86084816afcdf9bc3">   55</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a0ea440b4823100b86084816afcdf9bc3">IsValid</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#adb461d2ffc1c6de4d6f1cb3007ff4bc8">   57</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#adb461d2ffc1c6de4d6f1cb3007ff4bc8">IsImageEmpty</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a1fa48a700903f4c008924aece082b1df">   58</a></span>        <span class="keywordtype">bool</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a1fa48a700903f4c008924aece082b1df">IsGBSymbolEmpty</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span> </div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a6982f610fec7c33eeb4aeaa5ba2697e8">   62</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a6982f610fec7c33eeb4aeaa5ba2697e8">SetImageURI</a>(<span class="keyword">const</span> std::string&amp; uri);</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a0725699b701ae0058be41c815a58d046">   63</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a0725699b701ae0058be41c815a58d046">GetImageURI</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a87ee87528a44c6e6094145996207fa6e">   64</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a87ee87528a44c6e6094145996207fa6e">SetImageMime</a>(<span class="keyword">const</span> std::string&amp; mime);</div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a1aff14da4763934a192ee38c87316717">   65</a></span>        <span class="keyword">const</span> std::string&amp; <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a1aff14da4763934a192ee38c87316717">GetImageMime</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span> </div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a605ee09e26cb643e01449a66cba4c7af">   70</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a605ee09e26cb643e01449a66cba4c7af">SetGBSymbol</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_g_b_symbol.html">GBSymbol</a>&amp; symbol);</div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a95136fbe065c4e50260b404c1ee0f26a">   71</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_g_b_symbol.html">GBSymbol</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a95136fbe065c4e50260b404c1ee0f26a">GetGBSymbol</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#ae4faa60c8923f4b6d26e8a7685d2b28c">   74</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#ae4faa60c8923f4b6d26e8a7685d2b28c">SetWrapMode</a>(<a class="code hl_enumeration" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268b">WrapMode</a> mode);</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#ab1ddf590fb5c26ced746c74678b075f7">   75</a></span>        <a class="code hl_enumeration" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268b">WrapMode</a> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#ab1ddf590fb5c26ced746c74678b075f7">GetWrapMode</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a0e9e8736f7934b0b110384268f9bcc76">   76</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a0e9e8736f7934b0b110384268f9bcc76">SetBorderColor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; clr);</div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a1ae85cb4571ad4ce3fe0d27662d89600">   77</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_texture.html#a1ae85cb4571ad4ce3fe0d27662d89600">GetBorderColor</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#aedf62299309b71735f6cd6fbe6ce6591">   80</a></span>        std::string <a class="code hl_variable" href="classgeo3dml_1_1_texture.html#adf1d0b03fc29703490382fda18421d0c">imageURI_</a>, <a class="code hl_variable" href="classgeo3dml_1_1_texture.html#aedf62299309b71735f6cd6fbe6ce6591">imageMime_</a>;</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a3f080bf7d14f35ffd373772709356097">   81</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_g_b_symbol.html">GBSymbol</a> <a class="code hl_variable" href="classgeo3dml_1_1_texture.html#a3f080bf7d14f35ffd373772709356097">gbSymbol_</a>;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a3f574564f7d04a52270cca1d02c9b914">   82</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a> <a class="code hl_variable" href="classgeo3dml_1_1_texture.html#a3f574564f7d04a52270cca1d02c9b914">borderColor_</a>;</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_texture.html#a61c37033dafaea2f5ff8f1fe25cc7e8a">   83</a></span>        <a class="code hl_enumeration" href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268b">WrapMode</a> <a class="code hl_variable" href="classgeo3dml_1_1_texture.html#a61c37033dafaea2f5ff8f1fe25cc7e8a">wrapMode_</a>;</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    };</div>
</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>}</div>
<div class="ttc" id="a_color_8h_html"><div class="ttname"><a href="_color_8h.html">Color.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_color_html"><div class="ttname"><a href="classgeo3dml_1_1_color.html">geo3dml::Color</a></div><div class="ttdef"><b>Definition</b> Color.h:5</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html">geo3dml::GBSymbol</a></div><div class="ttdoc">参照国标（GB/T958-2015 区域地质图图例）定义的图例符号。</div><div class="ttdef"><b>Definition</b> Texture.h:9</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a0ebe7fb7c32a542d4e1fa2aaf96cdf26"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a0ebe7fb7c32a542d4e1fa2aaf96cdf26">geo3dml::GBSymbol::SetStrokeColor</a></div><div class="ttdeci">void SetStrokeColor(const Color &amp;clr)</div><div class="ttdoc">符号的前景色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a1f0f3ddd09e3945cc974922a941ca937"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a1f0f3ddd09e3945cc974922a941ca937">geo3dml::GBSymbol::SetFillColor</a></div><div class="ttdeci">void SetFillColor(const Color &amp;clr)</div><div class="ttdoc">符号的填充色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a282cace3947f9f3168a9ec58e443100a"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a282cace3947f9f3168a9ec58e443100a">geo3dml::GBSymbol::strokeColor_</a></div><div class="ttdeci">Color strokeColor_</div><div class="ttdoc">符号的前景颜色。</div><div class="ttdef"><b>Definition</b> Texture.h:34</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a343adcc9f79ba43d7d1f1e97a3b3683f"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a343adcc9f79ba43d7d1f1e97a3b3683f">geo3dml::GBSymbol::fillColor_</a></div><div class="ttdeci">Color fillColor_</div><div class="ttdoc">符号的填充颜色。</div><div class="ttdef"><b>Definition</b> Texture.h:36</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a3fbd77305c934b47f40c88e5abbeeb16"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a3fbd77305c934b47f40c88e5abbeeb16">geo3dml::GBSymbol::SetCode</a></div><div class="ttdeci">void SetCode(const std::string &amp;code)</div><div class="ttdoc">图例代码。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a6a9573c58a5c6234a78e41e41ed6e025"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a6a9573c58a5c6234a78e41e41ed6e025">geo3dml::GBSymbol::IsEmpty</a></div><div class="ttdeci">bool IsEmpty() const</div><div class="ttdoc">检查图例符号定义是否为空。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a6fc7198846ad3783022c16341ca55c7e"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a6fc7198846ad3783022c16341ca55c7e">geo3dml::GBSymbol::GetStrokeColor</a></div><div class="ttdeci">const Color &amp; GetStrokeColor() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_a9a52598438795db4ead9c8b0ad497645"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#a9a52598438795db4ead9c8b0ad497645">geo3dml::GBSymbol::GetCode</a></div><div class="ttdeci">const std::string &amp; GetCode() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_abac7428b520a1bc20e27e92861bf87d1"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#abac7428b520a1bc20e27e92861bf87d1">geo3dml::GBSymbol::Clear</a></div><div class="ttdeci">void Clear()</div><div class="ttdoc">清除符号参数。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_ae399a902f0a4c68538a5bf4e84765681"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#ae399a902f0a4c68538a5bf4e84765681">geo3dml::GBSymbol::code_</a></div><div class="ttdeci">std::string code_</div><div class="ttdoc">图例代码。</div><div class="ttdef"><b>Definition</b> Texture.h:32</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_g_b_symbol_html_afdea687552c2c0454ec29d70e795a0ea"><div class="ttname"><a href="classgeo3dml_1_1_g_b_symbol.html#afdea687552c2c0454ec29d70e795a0ea">geo3dml::GBSymbol::GetFillColor</a></div><div class="ttdeci">const Color &amp; GetFillColor() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html"><div class="ttname"><a href="classgeo3dml_1_1_texture.html">geo3dml::Texture</a></div><div class="ttdoc">纹理。暂时仅支持geo3dml:AbstractTexture所定义的基本纹理属性，主要包括图片文件地址和铺设模式。不支持纹理坐标等其它参数。 纹理图片可以是普通图片，也可以是国标定义的地质图图例符号。</div><div class="ttdef"><b>Definition</b> Texture.h:41</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a0725699b701ae0058be41c815a58d046"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a0725699b701ae0058be41c815a58d046">geo3dml::Texture::GetImageURI</a></div><div class="ttdeci">const std::string &amp; GetImageURI() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a0e9e8736f7934b0b110384268f9bcc76"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a0e9e8736f7934b0b110384268f9bcc76">geo3dml::Texture::SetBorderColor</a></div><div class="ttdeci">void SetBorderColor(const Color &amp;clr)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a0ea440b4823100b86084816afcdf9bc3"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a0ea440b4823100b86084816afcdf9bc3">geo3dml::Texture::IsValid</a></div><div class="ttdeci">bool IsValid() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a1ae85cb4571ad4ce3fe0d27662d89600"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a1ae85cb4571ad4ce3fe0d27662d89600">geo3dml::Texture::GetBorderColor</a></div><div class="ttdeci">const Color &amp; GetBorderColor() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a1aff14da4763934a192ee38c87316717"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a1aff14da4763934a192ee38c87316717">geo3dml::Texture::GetImageMime</a></div><div class="ttdeci">const std::string &amp; GetImageMime() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a1fa48a700903f4c008924aece082b1df"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a1fa48a700903f4c008924aece082b1df">geo3dml::Texture::IsGBSymbolEmpty</a></div><div class="ttdeci">bool IsGBSymbolEmpty() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a354684c0506ce5857a38205f73ab7e2d"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a354684c0506ce5857a38205f73ab7e2d">geo3dml::Texture::Texture</a></div><div class="ttdeci">Texture()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a3f080bf7d14f35ffd373772709356097"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a3f080bf7d14f35ffd373772709356097">geo3dml::Texture::gbSymbol_</a></div><div class="ttdeci">GBSymbol gbSymbol_</div><div class="ttdef"><b>Definition</b> Texture.h:81</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a3f574564f7d04a52270cca1d02c9b914"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a3f574564f7d04a52270cca1d02c9b914">geo3dml::Texture::borderColor_</a></div><div class="ttdeci">Color borderColor_</div><div class="ttdef"><b>Definition</b> Texture.h:82</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a605ee09e26cb643e01449a66cba4c7af"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a605ee09e26cb643e01449a66cba4c7af">geo3dml::Texture::SetGBSymbol</a></div><div class="ttdeci">void SetGBSymbol(const GBSymbol &amp;symbol)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a61c37033dafaea2f5ff8f1fe25cc7e8a"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a61c37033dafaea2f5ff8f1fe25cc7e8a">geo3dml::Texture::wrapMode_</a></div><div class="ttdeci">WrapMode wrapMode_</div><div class="ttdef"><b>Definition</b> Texture.h:83</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a6982f610fec7c33eeb4aeaa5ba2697e8"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a6982f610fec7c33eeb4aeaa5ba2697e8">geo3dml::Texture::SetImageURI</a></div><div class="ttdeci">void SetImageURI(const std::string &amp;uri)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a87ee87528a44c6e6094145996207fa6e"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a87ee87528a44c6e6094145996207fa6e">geo3dml::Texture::SetImageMime</a></div><div class="ttdeci">void SetImageMime(const std::string &amp;mime)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_a95136fbe065c4e50260b404c1ee0f26a"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#a95136fbe065c4e50260b404c1ee0f26a">geo3dml::Texture::GetGBSymbol</a></div><div class="ttdeci">const GBSymbol &amp; GetGBSymbol() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_aa67c4c2da387f2fd1d5dbadd0924268b"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268b">geo3dml::Texture::WrapMode</a></div><div class="ttdeci">WrapMode</div><div class="ttdoc">纹理铺设模式</div><div class="ttdef"><b>Definition</b> Texture.h:44</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_aa67c4c2da387f2fd1d5dbadd0924268ba39a681a9d5ccc902bebd16a343dd7b74"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba39a681a9d5ccc902bebd16a343dd7b74">geo3dml::Texture::WrapMode::MirrorRepeat</a></div><div class="ttdeci">@ MirrorRepeat</div><div class="ttdoc">镜像重复</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_aa67c4c2da387f2fd1d5dbadd0924268ba7020426cfb0a204051be4b3053d2acc8"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba7020426cfb0a204051be4b3053d2acc8">geo3dml::Texture::WrapMode::Repeat</a></div><div class="ttdeci">@ Repeat</div><div class="ttdoc">重复</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_aa67c4c2da387f2fd1d5dbadd0924268ba74556551231333c36debc3d373261134"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba74556551231333c36debc3d373261134">geo3dml::Texture::WrapMode::ClampToEdge</a></div><div class="ttdeci">@ ClampToEdge</div><div class="ttdoc">按纹理图片的边界扩展</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_aa67c4c2da387f2fd1d5dbadd0924268ba7a1920d61156abc05a60135aefe8bc67"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268ba7a1920d61156abc05a60135aefe8bc67">geo3dml::Texture::WrapMode::Default</a></div><div class="ttdeci">@ Default</div><div class="ttdoc">单幅填充</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_aa67c4c2da387f2fd1d5dbadd0924268bafb07f88f6f11cc5ab9c951290716f147"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#aa67c4c2da387f2fd1d5dbadd0924268bafb07f88f6f11cc5ab9c951290716f147">geo3dml::Texture::WrapMode::ClampToBorder</a></div><div class="ttdeci">@ ClampToBorder</div><div class="ttdoc">按定义的边界颜色扩展</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_ab1ddf590fb5c26ced746c74678b075f7"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#ab1ddf590fb5c26ced746c74678b075f7">geo3dml::Texture::GetWrapMode</a></div><div class="ttdeci">WrapMode GetWrapMode() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_adb461d2ffc1c6de4d6f1cb3007ff4bc8"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#adb461d2ffc1c6de4d6f1cb3007ff4bc8">geo3dml::Texture::IsImageEmpty</a></div><div class="ttdeci">bool IsImageEmpty() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_adf1d0b03fc29703490382fda18421d0c"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#adf1d0b03fc29703490382fda18421d0c">geo3dml::Texture::imageURI_</a></div><div class="ttdeci">std::string imageURI_</div><div class="ttdef"><b>Definition</b> Texture.h:80</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_ae4faa60c8923f4b6d26e8a7685d2b28c"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#ae4faa60c8923f4b6d26e8a7685d2b28c">geo3dml::Texture::SetWrapMode</a></div><div class="ttdeci">void SetWrapMode(WrapMode mode)</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html_aedf62299309b71735f6cd6fbe6ce6591"><div class="ttname"><a href="classgeo3dml_1_1_texture.html#aedf62299309b71735f6cd6fbe6ce6591">geo3dml::Texture::imageMime_</a></div><div class="ttdeci">std::string imageMime_</div><div class="ttdef"><b>Definition</b> Texture.h:80</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
